package m1.server;

import m2.component.Component;
import m2.component.iface.ComponentInterface;

public class Server extends Component {

	private ServerConfiguration serverConfiguration;
	private ReceiveRequestComponent receiveRequestComponent;
	
	public Server(String name) {
		super(name);
		serverConfiguration = new ServerConfiguration("ServerConfiguration");
		setConfig(serverConfiguration);
		receiveRequestComponent = new ReceiveRequestComponent("ReceiveRequestComponent");
		addInterfaceFourni(new ComponentInterface("InterfaceReceiveRequest"), receiveRequestComponent);
	}

}
